home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
Sherlock 2.0
/
DevLibSrc
/
Mac DevLib
/
mac_gui.h
< prev
next >
Wrap
Text File
|
1995-11-03
|
1KB
|
63 lines
/*
devlib: header file for mac_gui.c.
source: mac_gui.h
started: December 13, 1993.
version:
November 2, 1995.
Changed w_update to slw_update.
Changed w_write to slw_write.
September 25,1995
Removed "version" parameter from w_mac_init
January 7, 1994.
*/
#ifndef mac_gui_h_
#define mac_gui_h_
#pragma once
#ifdef __MWERKS__
#define Boolean int
#endif
/*
Macintosh specific types.
*/
typedef unsigned char * w_pstring;
/*
Function prototypes.
*/
Boolean w_applEvent (int eventSkipCount);
void w_drawMenuBar (void);
Boolean w_event (int user_mask, EventRecord * event, long sleep,
RgnHandle mouseRgn, Boolean wait_flag);
long w_menuSelect (Point pt);
void w_mac_init
(
Boolean toolBoxFlag,
Boolean toWindowFlag,
char * windowName,
Boolean openWindowFlag,
Boolean addStdMenuFlag,
Boolean addSlMenuFlag,
Boolean addAboutFlag,
w_pstring aboutTitle, /* Must be a pascal string. */
void (*aboutCallBack) (void),
Boolean drawMenuFlag,
void (*eventCallBack) (void),
void (*dumpCallBack) (void),
w_pstring userItem1, /* Must be a pascal string. */
void (*dump2CallBack) (void),
w_pstring userItem2, /* Must be a pascal string. */
void (*dump3CallBack) (void),
w_pstring userItem3 /* Must be a pascal string. */
);
void slw_write (char * buffer, int count);
void slw_update (void);
#endif /* mac_gui_h_ */